View Issue Details

IDProjectCategoryView StatusLast Update
0001433K18X001.00 SKB SWANSWpublic2022-02-22 10:12
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date2022-02-25 13:00
PrioritynormalSeveritys6-featureReproducibilityalways
Status closedResolutionfixed 
Summary0001433: There is something wrong on release script for SWAN.
DescriptionThere are something to fix on release script for SWAN.

#1
./release.sh usage is as follows,
usage: $0 model type ota secure
ex : $0 at100 user y y

but, it's not matched with script.
(./release.sh line 134)
echo "params=$1 $2 $3 $4"
FX_MODEL=$1
FX_BUILDSECURE=$2
FX_VARIANT=$3
FX_BUILDTYPE=$4

FX_BUILDSECURE is set using second parameter, but the usage told me the second parameter is build variant.

#2
When I run the release script as interactive mode,
if I select the userdebug as build type, then the FX_BUILDTYPE is set as NULL string.

But, when I run the release script as non-interactive mode like followings, I can't run the script without forth parameter.
smchoi@asus_pn50:~/project/BFX-UA300$ ./release.sh ua300 n userdebug

** parameter mode **
Invalid arg number...
usage: ./release.sh model type ota secure
ex : ./release.sh at100 user y y

If I run the script as followings, the FX_BUILDTYPE is set as n.
./release.sh ua300 n userdebug n

For conclusion, the build environments will be different with interactive mode and non-interactive mode.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(SW) Jim Chen

2022-02-22 09:43

developer   ~0009483

Hi Mr. Sangmin,

Sorry the usage message is not correct.
I've fixed it on branch BFX-UA300_5.3.2

Here's the example which used for ND&SD in nightly build
./release.sh BFX-UA300 n userdebug ""
./release.sh BFX-UA300 y userdebug ""

(ALTech) Sangmin Choi

2022-02-22 10:12

developer   ~0009484

Hi, jim,

Thank you for quick response.

Issue History

Date Modified Username Field Change
2022-02-22 08:57 (ALTech) Sangmin Choi New Issue
2022-02-22 08:57 (ALTech) Sangmin Choi Status new => assigned
2022-02-22 08:57 (ALTech) Sangmin Choi Assigned To => (SW) River Wong
2022-02-22 09:00 (ALTech) Sangmin Choi Description Updated
2022-02-22 09:12 (SW) River Wong Severity s2-severe => s6-feature
2022-02-22 09:43 (SW) Jim Chen Note Added: 0009483
2022-02-22 09:44 (SW) Jim Chen Assigned To (SW) River Wong => (ALTech) Sangmin Choi
2022-02-22 09:44 (SW) Jim Chen Status assigned => resolved
2022-02-22 09:44 (SW) Jim Chen Resolution open => fixed
2022-02-22 10:12 (ALTech) Sangmin Choi Status resolved => closed
2022-02-22 10:12 (ALTech) Sangmin Choi Note Added: 0009484